package com.achievement.service;

import com.achievement.domain.dto.PaperIncludeDTO;
import com.achievement.domain.entity.PaperIncludeEntity;
import com.achievement.domain.vo.PaperIncludeVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author CNKI
* @description 针对表【biz_paper_include(科研成果-学术论文-论文编辑-论文收录)】的数据库操作Service
* @createDate 2025-02-17 17:06:19
*/
public interface IPaperIncludeService extends IService<PaperIncludeEntity> {

    /**
     *  新增论文收录信息
     * @param dto dto
     * @return boolean
     */
    boolean addPaperInclude(PaperIncludeDTO dto);

    /**
     *  编辑论文收录信息
     * @param dto dto
     * @return boolean
     */
    boolean editPaperInclude(PaperIncludeDTO dto);

    /**
     *  删除论文收录信息
     * @param id id
     * @return boolean
     */
    boolean delPaperInclude(String id);

    /**
     * 根据论文id，查询论文收录信息列表
     * @param id id
     * @return List<PaperIncludeVO>
     */
    List<PaperIncludeVO> getInfoById(String id);
}
